﻿<ribbon:RibbonWindow x:Class="VisualWip.TFS2010Providers.WorkItemEditor"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        WindowState="Normal" WindowStyle="SingleBorderWindow" Closing="RibbonWindowClosing" Icon="/TFS2010Providers;component/Images/teamexplorerworkitemsroot.png">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <ribbon:Ribbon x:Name="Ribbon" IsMinimized="False">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu Label="File" Name="File" KeyTip="F" Visibility="Hidden">
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            <ribbon:RibbonTab x:Name="Home" Header="Home" IsSelected="True" IsHitTestVisible="True" IsTabStop="True" Selector.IsSelected="True">
                <ribbon:RibbonGroup Header="Edit">
                <ribbon:RibbonButton
                        Label="Save"
                        Click="SaveButtonClick"
                        LargeImageSource="/VisualWip;component/Images/FloppyDisk.png"
                        SmallImageSource="/VisualWip;component/Images/FloppyDisk.png"/>
                <ribbon:RibbonButton
                        Name="Refresh"
                        Click="RefreshClick"
                        Label="Refresh"
                        LargeImageSource="/VisualWip;component/Images/112_RefreshArrow_Blue_32x32_72.png"
			            SmallImageSource="/VisualWip;component/Images/112_RefreshArrow_Blue_16x16_72.png"
/>
                <ribbon:RibbonButton
                        Name="Reset"
                        Click="ResetClick"
                        Label="Reset"
                        LargeImageSource="/VisualWip;component/Images/112_ArrowReturnLeft_Blue_32x32_72.png"
			            SmallImageSource="/VisualWip;component/Images/112_ArrowReturnLeft_Blue_16x16_72.png"/>
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
        </ribbon:Ribbon>
        <WindowsFormsHost Grid.Row="1" Name="WorkItemControlHost"/>
    </Grid>
</ribbon:RibbonWindow>
